﻿<UserControl x:Class="CustomControls.CustomControl"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d"
		d:DesignHeight="300" d:DesignWidth="300" x:Name="root">

	<Grid DataContext="{Binding ElementName=root}" Margin="-5,-5,0,0">
		<Ellipse Fill="Yellow" HorizontalAlignment="Left" VerticalAlignment="Top" Width="10"
				Height="10" />
		<Border BorderBrush="Yellow" BorderThickness="1" CornerRadius="1" Background="Black"
				Margin="5,5,0,0">
			<TextBlock Margin="2" Text="{Binding Text}" Foreground="White" TextWrapping="Wrap"
					TextAlignment="Center" />
		</Border>
	</Grid>

</UserControl>
